package com.chen.blue.domain.vo.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * Created By CLT On 2024/5/10.
 */
@SuppressWarnings("all")
@Getter
@Setter
@ApiModel("岗位数据展示")
public class PostVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 岗位ID
     */
    private Long id;

    /**
     * 岗位编码
     */
    @ApiModelProperty(value = "岗位编码", required = true)
    private String code;

    /**
     * 岗位名称
     */
    @ApiModelProperty(value = "岗位名称", required = true)
    private String name;

    /**
     * 显示顺序
     */
    @ApiModelProperty(value = "显示顺序", required = true)
    private Integer sort;

    /**
     * 状态（true正常 false停用）
     */
    @ApiModelProperty(value = "状态（true正常 false停用）", required = true)
    private Boolean status;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;


}
